home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: kevin46@ix.netcom.com(Kevin Twine )
- Newsgroups: comp.lang.c++
- Subject: NULL POINTER ASSIGNMENT ERROR MESSAGE
- Date: 23 Feb 1996 02:18:17 GMT
- Organization: Netcom
- Message-ID: <4gj859$4bq@ixnews4.ix.netcom.com>
- NNTP-Posting-Host: ix-rnwk3-25.ix.netcom.com
- X-NETCOM-Date: Thu Feb 22 6:18:17 PM PST 1996
-
- I am running executable code I created in Borland Turbo C++ 3.0, and
- when the program is finished I keep getting a message which reads "null
- pointer assignment." The manual says that this error message means
- memory allocation is not consistent during a program run, and that this
- can cause grave problems in some circumstances. The manual adds that
- most of the time this error message means that a pointer somewhere in
- the code has not been properly initialized.
-
- I have looked up and checked all of the pointers in the code by
- searching for asterisks and ampersands. I have also tried to make sure
- I re-declare all my common (declared in a single header, used in
- several funtions) variables wherever they apply. I still am getting
- the message.
-
- The program, a data base routine, runs fine with a smaller number of
- queries, but can crash if I try too many queries at once.
-
- I am getting exhausted by looking for the casue of this message. Can
- anyone give me some advice?
-
- Thanks in advance,
-
- Kevin Twine
-